package com.yimingkeji.apiversion;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Describe: 多版本服务startApp
 * @Auther: zhenlong.yang
 * @Date: 2018/11/21 19:33
 */
@SpringBootApplication
@RestController
public class ApiVersionApp {

    @RequestMapping("/")
    String home() {
        return "Hello World";
    }

    public static void main(String[] args) throws Exception {
        SpringApplication.run(ApiVersionApp.class, args);
    }
}
